<%@page language="java" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@taglib uri="TowkerTagLib" prefix="rbac"%>
<%@ taglib uri="/WEB-INF/tags/CommonFunction.tld" prefix="cfn" %>
<%@include file="/commons/include/html_doctype.html" %>
<html>
<head>
	<title>生产进度跟进</title>
	<%@include file="/commons/include/get.jsp" %>
	<script type="text/javascript">
		//放置脚本
	</script>
</head> 
<body>
<table border="0" cellspacing="0" cellpadding="0" class="listLogo">
	<tr>
		<td class="title">生产进度跟进</td>
		<td>
			<div class="menuTool">
			<a class="del" id="listFormDelAll" href="delProSCH.htm">删除所选</a>
			<a class="add" href="addProSCH1.htm">添加</a>
			<a class="back" onClick="javascript:history.back();" href="#">返回</a>
			</div>
		</td>
	</tr>
</table>
<div class="line"></div>
<form id="queryForm" method="post" action="getProSCH.htm">
<table border="0" cellspacing="0" cellpadding="0" class="queryTable">
	<tr>
		<td class="title">投料单号：</td>
		<td class="input"><input id="title" name="mat_sn" class="input" value="${fn:escapeXml(param.mat_sn)}" /></td>
		<td class="input"><span class="title">生产计划单号：</span></td>
		<td class="input"><input id="title2" name="plan_sn" class="input" value="${fn:escapeXml(param.plan_sn)}" /></td>
		<td class="input"><span class="title">要生产的产品代码：</span></td>
		<td class="input"><input id="title3" name="pro_code" class="input" value="${fn:escapeXml(param.pro_code)}" /></td>
		<td class="input"><span class="title">投料品种代码（原材料）</span></td>
		<td class="input"><input id="title4" name="goods_sn" class="input" value="${fn:escapeXml(param.goods_sn)}" /></td>
	</tr>
	<tr>
		<td class="query" colspan="8"><input id="_querySubmit_" type="submit" class="button" value="查询" /></td>
	</tr>
</table>
</form>
<div class="line"></div>
<form id="listForm" method="post" action="delProSCH.htm">
<table border="0" cellspacing="1" cellpadding="0" class="listTable">
	<tr class="list_title">
		<td style="width:3%"><input id="chkall" type="checkbox" /></td>
		<td>投料单号</td>
		<td>核算期</td>
		<td>安排生产日期</td>
		<td>生产计划单号</td>
		<td>生产部门代码</td>
		<td>生产批次</td>
		<td>要生产的产品代码</td>
		<td>完成生产日期</td>
		<td>生产完成数量</td>
		<td>投料品种代码（原材料）</td>
		<td>投料数量</td>
		<td>操作</td>
	</tr>
<c:forEach items="${pageModel.result}" var="d" varStatus="status">
	<tr class="${status.index%2==0?'list_even':'list_odd'}">
		<td nowrap="nowrap">
			<input name="keyIndex" type="checkbox" value="${d.id}" />
		</td>
		<td>${fn:escapeXml(d.mat_sn)}</td>
		<td>${fn:escapeXml(d.acc_period)}</td>
		<td>${fn:escapeXml(d.pro_date)}</td>
		<td>${fn:escapeXml(d.plan_sn)}</td>
		<td>${fn:escapeXml(d.dep_code)}</td>
		<td>${fn:escapeXml(d.seq_id)}</td>
		<td>${fn:escapeXml(d.pro_code)}</td>
		<td>${fn:escapeXml(d.complated_date)}</td>
		<td>${fn:escapeXml(d.complated_quantity)}</td>
		<td>${fn:escapeXml(d.goods_sn)}</td>
		<td>${fn:escapeXml(d.mat_quantity)}</td>
		<td>
			<div class="menuTool">
			<a class="del" href="delProSCH.htm?keyIndex=${d.id}">删除</a>
			<a class="upd" href="updProSCH1.htm?keyIndex=${d.id}">修改</a>
			<a class="get" href="getProSCHById.htm?keyIndex=${d.id}">详细</a>
			</div>
		</td>
	</tr>
</c:forEach>
</table>
<input id="_submit_" type="submit" style="display:none;" />
</form>
<table border="0" cellspacing="0" cellpadding="0" class="bottomTable">
	<tr><td>${pageNav.page}</td></tr>
</table>
</body>
</html>
